home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / RGASM.RAR / ASMCODE.EXE / CHAPT12 / ASMT.PAS < prev    next >
Encoding:
Pascal/Delphi Source File  |  1993-05-10  |  444 b   |  15 lines

  1. Program Asmt ;
  2. Uses Pasasm ;
  3. Var Rdkey: Byte ; IndSpec: Boolean ;
  4. Begin
  5. Writeln ('                    Turbo Pascal - MASM interfacing' ) ;
  6. Writeln ; Writeln ('Press the ESC key to exit or any other to continue ' ) ;
  7. Writeln ;
  8. Repeat
  9.    Writeln ; Write ( 'Enter character ' );
  10.    RdKey := GetScan(':', IndSpec) ;
  11.    Write (' (', RdKey, '), the indicator of a special key is  "',
  12.           IndSpec, '".' );
  13. Until RdKey = 27 ;
  14. End.
  15.